package ex;


import java.util.PrimitiveIterator;

public class h2 {
    public static void main(String arg[]) {
        int d = 17,e=64,f=-9;
        System.out.println(Integer.toBinaryString(d));
        System.out.println(Integer.toBinaryString(e));
        System.out.println(Integer.toBinaryString(f));
        int a=238,b=167,c=135;
        System.out.println(Integer.toBinaryString(a));
        System.out.println(Integer.toBinaryString(b));
        System.out.println(Integer.toBinaryString(c));
        System.out.println(Integer.toHexString(a));
        System.out.println(Integer.toHexString(b));
        System.out.println(Integer.toHexString(c));



    }
}
